// 当前文件中封装了所有关于商品页面的请求
//商品列表请求
import axios from "@/http";
export function getProductionList(data) {
  return axios({
    url: "/goods",
    method: "get",
    params: data,
  });
}

//商品添加请求
export function AddProductionList(data) {
  return axios({
    url: "/goods",
    method: "post",
    data,
  });
}
//商品删除请求
export function RomoveProductionList(data) {
  return axios({
    url: "/goods/" + data,
    method: "delete",
    data,
  });
}


export function getProductionLista(params) {
  return axios({
    url: "/orders",
    method: "get",
    params

  });
}